package com.qf.entity;

import java.time.LocalDateTime;

public class Message {
    private Integer id;
    private Integer card_id;
    private String detail;
    private LocalDateTime public_date;

    public Message() {
    }

    public Message(Integer id, Integer card_id, String detail, LocalDateTime public_date) {
        this.id = id;
        this.card_id = card_id;
        this.detail = detail;
        this.public_date = public_date;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return card_id
     */
    public Integer getCard_id() {
        return card_id;
    }

    /**
     * 设置
     * @param card_id
     */
    public void setCard_id(Integer card_id) {
        this.card_id = card_id;
    }

    /**
     * 获取
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * 设置
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * 获取
     * @return public_date
     */
    public LocalDateTime getPublic_date() {
        return public_date;
    }

    /**
     * 设置
     * @param public_date
     */
    public void setPublic_date(LocalDateTime public_date) {
        this.public_date = public_date;
    }

    public String toString() {
        return "Message{id = " + id + ", card_id = " + card_id + ", detail = " + detail + ", public_date = " + public_date + "}";
    }
}
